---
title: "Updates a GenTable by id"
method: PUT
path: "/GenTable/~{TableName}|{Code}"
tags: ["GenTable"]
---

# Updates a GenTable by id

`PUT /GenTable/~{TableName}|{Code}`

Updates an instance of GenTable by id

## Path parameters

- `TableName` string, required
- `Code` string, required

## Request body

- GenTableData
  - `$type` 'Asi.Soa.Core.DataContracts.GenTableData, Asi.Contracts', required — The DataType must be "Asi.Soa.Core.DataContracts.GenTableData, Asi.Contracts"
  - `Code` string
  - `Description` string
  - `NCode` string
  - `ObsoleteDescription` string
  - `Substitute` string
  - `TableName` string
  - `UpdateInformation` EntityUpdateInformationData
    - `$type` 'Asi.Soa.Core.DataContracts.EntityUpdateInformationData, Asi.Contracts', required — The DataType must be "Asi.Soa.Core.DataContracts.EntityUpdateInformationData, Asi.Contracts"
    - `CreatedBy` string
    - `CreatedOn` string, date-time
    - `UpdatedBy` string
    - `UpdatedOn` string, date-time
  - `UpperCode` string

## Response `200`

The request was successful.

---

[API](https://skmtc.net/imis/apis/accounting.md) · [All operations](https://skmtc.net/imis/apis/accounting/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/imis/accounting/revisions/67a8cf169a01/schema)
